package com.ljq.cksp.service.impl;

import com.ljq.cksp.dao.PartDao;
import com.ljq.cksp.pojo.Part;
import com.ljq.cksp.service.PartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:ljq
 * @Date:2020/4/23
 */
@Service
public class PartServiceImpl implements PartService {
    @Autowired
    PartDao partDao;
    @Override
    public List<Part> findByNums(int nums) {
        return partDao.findByNums(nums);
    }
}
